//
//  UserCell.m
//  HuateVideo
//
//  Created by  on 12-5-29.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "UserCell.h"

@implementation UserCell
@synthesize  cellTextFiled,cellLab;
-(void)dealloc{
    [cellTextFiled release];
    [cellLab release];
    [super dealloc];
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        cellLab=[[UILabel alloc] initWithFrame:CGRectMake(10, 0, 60, 50)];
        cellLab.backgroundColor=[UIColor clearColor];
        cellLab.textAlignment=UITextAlignmentRight;
        cellLab.font=[UIFont systemFontOfSize:14];
        cellLab.textColor=[UIColor whiteColor];
        [self addSubview:cellLab];
        
        cellTextFiled=[[UITextField alloc] initWithFrame:CGRectMake(80, 10, 200, 30)];
        cellTextFiled.borderStyle=UITextBorderStyleRoundedRect;
        cellTextFiled.autocapitalizationType=UITextAutocapitalizationTypeNone;
        cellTextFiled.contentVerticalAlignment=UIControlContentVerticalAlignmentCenter;
        cellTextFiled.clearButtonMode=UITextFieldViewModeWhileEditing;
        [self addSubview:cellTextFiled];
        self.contentView.backgroundColor=[UIColor clearColor];
        self.backgroundColor=[UIColor clearColor];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
